﻿@{
    Layout = null;
}

<!DOCTYPE html>
<!--[if IE 8]> <html lang="zh" class="ie8"> <![endif]-->
<!--[if IE 9]> <html lang="zh" class="ie9"> <![endif]-->
<!--[if !IE]><!-->
<html lang="zh">
<!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
    <meta charset="utf-8" />
    <meta content="width=device-width, initial-scale=1.0" name="viewport" />
    @Html.Partial("_Title")
    @Html.Raw(ViewBag.CssFile)
</head>
<body class="fixed-top">
    @Html.Partial("_Top")
    <div id="container" class="row-fluid @ViewBag.MenuStatus">
        @Html.Partial("_LeftMenu")
        <div id="body">
            <div id="widget-config" class="modal hide">
                <div class="modal-header">
                    <button data-dismiss="modal" class="close" type="button"></button>
                    <h3>widget Settings</h3>
                </div>
                <div class="modal-body">
                    <p>Here will be a configuration form</p>
                </div>
            </div>
            <div class="container-fluid">
                <div class="row-fluid">
                    <div class="span12">
                        @Html.Raw(ViewBag.NavMenu)
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span12">
                        <div class="widget box light-grey">
                            <div class="widget-title">
                                <h4><i class="icon-globe"></i>库存清单报表</h4>
                                <div class="actions">
                                    <a class="btn btn-primary" href="javascript:void(0)" onclick="User.Add()"><i class="icon-pencil"></i>&nbsp;新增</a>
                                    <a class="btn btn-danger" href="javascript:void(0)" onclick="User.BatchDel()"><i class="icon-trash"></i>&nbsp;删除</a>
                                    <a class="btn btn-info" href="javascript:void(0)" onclick="User.ToExcel()"><i class="icon-download"></i>&nbsp;导出</a>
                                </div>
                            </div>
                            <div class="widget-body">
                                <div class="clearfix margin-bottom-10">
                                    <div class="btn-group pull-right">
                                        <a class="btn btn-success" href="javascript:void(0)" onclick="StockBillReport.ToExcel()">导出Excel</a>
                                    </div>
                                </div>
                                <div class="row-fluid" style="border: 1px solid #DDDDDD;">
                                    库位&nbsp;<input id="txtLocalName" name="txtLocalName" type="text" class="searchinfo" />&nbsp;&nbsp;
                                    产品&nbsp;<input id="txtProduct" name="txtProduct" type="text" class="searchinfo" />&nbsp;&nbsp;
                                      库位类型&nbsp;
                                    <select id="ddlLocalType" name="ddlLocalType" class="input-medium">
                                        @Html.Raw(ViewBag.LocalTypeList)
                                    </select>
                                    &nbsp;&nbsp;
                                    <a id="gritter-remove-all" class="btn btn-info" href="javascript:void(0)" onclick="StockBillReport.PageClick(1,10)">搜索</a>
                                </div>
                                <hr />

                                <table class="table table-striped table-bordered table-hover" id="tabInfo">
                                    <thead>
                                        <tr class="widget-title">
                                            <th class="hidden-480">库位</th>
                                            <th class="hidden-480">库位类型</th>
                                            <th class="hidden-480">产品编号</th>
                                            <th class="hidden-480">产品条码</th>
                                            <th class="hidden-480">产品名称</th>
                                            <th class="hidden-480">类别</th>
                                            <th class="hidden-480">规格</th>
                                            <th class="hidden-480">预警值下限</th>
                                            <th class="hidden-480">预警值上限</th>
                                            <th class="hidden-480">库存数</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                    </tbody>
                                </table>
                                <div class="row-fluid" id="mypager">
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    @Html.Partial("_Foot")
    <script type="text/javascript">
        $(document).ready(function () {
            StockBillReport.PageClick(1, 10);
        });
    </script>
</body>

</html>
